package com.bw.shoppingmall.mvvm.model;

import com.bw.shoppingmall.mvvm.model.entity.TokenEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface Api {
    @POST("sysToken/getToken")
    Observable<TokenEntity> requestToken(@Body RequestBody body);

}
